package JavaGuide.JDK代理.JDK动态代理;

public class Mail {
    public static void main(String[] args) {
        SendEmail sendEmail = (SendEmail) JDKProxyFactory.getProxy(new SendEmailImpl());
        sendEmail.sendEmail("hello world");
    }
}
